<template>
  <div class="monitordetail">
    <div class="bluestripe">
      <div class="rect"></div>
      <div class="name">请求SD-SW</div>
    </div>
    <!---请求SD-SW下的form  -->
    <div class="ressdsw">
      <el-form ref="form" :model="form" label-width="150px" :disabled='true'> 
        <el-row>
          <el-col :span="6">
            <el-form-item label="系统机构代码:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="机构角色:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="请求时间:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <div class="bluestripe">
      <div class="rect"></div>
      <div class="name">应答SD-SW</div>
    </div>
    <!---应答SD-SW下的form  -->
    <div class="ressdsw">
      <el-form ref="form" :model="form" label-width="150px" :disabled='true'>
        <el-row>
          <el-col :span="6">
            <el-form-item label="响应编号:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="响应信息:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <!-- ---content 数据部分 -->
    <div class="trademessage">
      <div class="title">数据部分</div>
      <el-divider></el-divider>

      <el-form
        ref="form"
        :model="form"
        label-width="150px" :disabled='true'
        label-position="top"
      >
        <el-row class="specialtable">
          <el-col :span="5">
            <el-form-item label="系统机构代码:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="机构角色:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="原数据时间点:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="TCP链接状态:" :required='true'>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <!--网络数据-->
    <div class="messageset trademessage">
      <div class="title5 title">网络数据</div>
      <el-divider></el-divider>
      <div class="form4" style="margin-bottom: 20px">
        <el-form
          ref="form"
          :model="form"
          label-width="150px" :disabled='true'
          label-position="top"
        >
          <el-row class="specialtable">
            <el-col :span="5">
              <el-form-item label="线路ID:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="广域网线路RTT：" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="广域网银联端口入方向带宽利用率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="广域网银联端口出方向带宽利用率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row class="special">
            <el-col :span="5" style="margin-left:3.3%">
              <el-form-item label="广域网线路端口错包:"  :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5" style="margin-left:3.3%">
              <el-form-item label="广域网线路丢包率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </div>
    </div>
    <!--交易类型数据-->
    <div class="messageset trademessage">
      <div class="title5 title">交易类型数据</div>
      <el-divider></el-divider>
      <div class="form4" style="margin-bottom: 20px">
        <el-form
          ref="form"
          :model="form"
          label-width="150px" :disabled='true'
          label-position="top"
          
        >
          <el-row class="specialtable">
            <el-col :span="5">
              <el-form-item label="交易类型-账户类型:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="报送人行中系统成功率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="报送人行中交易平均处理时长:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="交易成功率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row class="specialtable">
            <el-col :span="5">
              <el-form-item label="业务成功率:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="受理冲正率：" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="TPM:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="当前最高TPS:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row class="last">
            <el-col :span="5" style="margin-left:3.3%">
              <el-form-item label="当日累计交易量:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5" style="margin-left:3.3%">
              <el-form-item label="交易平均处理时长:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="5" style="margin-left:3.3%">
              <el-form-item label="排名前三位的失败返回码及占比:" :required='true'>
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </div>
    </div>
    <!-- ---返回按钮 -->
    <div class="btnbox">
      <el-button type="primary" icon="el-icon-d-arrow-left" @click="back()"
        >返回</el-button
      >
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: "",
      },
    };
  },
  methods: {
    // 显示隐藏详情页
    back() {
      this.$eventBus.$emit("zipao");
    },
  },
};
</script>

<style lang='scss' scoped>
.monitordetail {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
}
.bluestripe {
  background: #d6e4ff;
  height: 100%;
  width: 100%;
  padding: 8px 0 8px 0;
  display: flex;
  margin-bottom: 20px;
  .rect {
    background-color: #007aff;
    margin-right: 20px;
    height: 16px;
    width: 4px;
  }
  .name {
    font-size: 14px;
  }
}
.trademessage {
  height: 100%;
  width: 100%;

  .specialtable {
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    align-items: center;
    justify-content: space-between;
  }
 
  .title {
    font-weight: 600;
    font-size: 16px;
  }
  .file {
    height: 70px;
    // background-color: pink;
    width: 100%;
  }
}
.btnbox {
  width: 100%;
  display: flex;
  justify-content: center;
}

.el-col {
  // margin-right: 50px;
}
</style>